/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.brain.bsc.dto;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

/**
 *
 * @author Christian
 */
@Entity
@Table(name = "TBSC_PRINCIPAL")
public class PrincipalDto implements Serializable{
    @Id
    @GeneratedValue(strategy = GenerationType.TABLE, generator = "SEQ_PRINCIPAL")
    @TableGenerator(name = "SEQ_PRINCIPAL", table = "TCORE_ENTIDAD", pkColumnName = "NOMBRE", valueColumnName = "CORRELATIVO", pkColumnValue = "PRINCIPAL", allocationSize = 1)
    
    private Long id;
    @Column(name = "DESCRIPCION")
    private String descripcion;
    
    @Column(name = "TIPO")
    private String tipo;
    
    @Column(name = "BALANCED_SCORECARD")
    private Long balancedScoreCard;
    
    @Column(name = "PADRE")
    private Long padre;
    
    @Column(name = "NUMERACION")
    private Long numeracion;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDescripcion() {
        return descripcion;
    }

    public void setDescripcion(String descripcion) {
        this.descripcion = descripcion;
    }

    public String getTipo() {
        return tipo;
    }

    public void setTipo(String tipo) {
        this.tipo = tipo;
    }

    public Long getBalancedScoreCard() {
        return balancedScoreCard;
    }

    public void setBalancedScoreCard(Long balancedScoreCard) {
        this.balancedScoreCard = balancedScoreCard;
    }

    public Long getPadre() {
        return padre;
    }

    public void setPadre(Long padre) {
        this.padre = padre;
    }

    public Long getNumeracion() {
        return numeracion;
    }

    public void setNumeracion(Long numeracion) {
        this.numeracion = numeracion;
    }
    
}
